package com.itheima.d12_api_integer1;

public enum Constant {
    BOY("小明",18,"男"),
    GIRL("小红",20,"女");

    public String name;

    Constant(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }



    public int getAge() {
        return age;
    }



    public String getSex() {
        return sex;
    }


    public int age;
        public String sex;
    }

